﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$m['username']}的问问</title>
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<meta content="打分交友,约会交友,同城交友,北京交友,上海交友,位置交友,简单交友,简简单单,在线交友,聊天交友,交友" name="keywords" />
<meta content="打分，聊天，约会！简简单单，打分交友，一个给你打分，并帮你结识新朋友的网站。 会员之间通过互相之间的照片打分，建立第一印象，轻松进行约会交友，同城交友！" name="description" />
<link href="{$urlstatic2}/css/head_global_main_ask.css{$urltail}" rel="stylesheet" type="text/css" />
<script language="javascript" src="{$urlstatic2}/js/global_jquery_hello_dialog_chat.js{$urltail}"></script>

<script language="javascript" src="{$urlstatic2}/js/provinces_zh-CN.js?gv=165_1"></script>
<script language="javascript" src="{$urlstatic2}/js/photo_group.js?gv=165_1"></script>
<link href="{$urlstatic2}/css/personal.css?gv=179_1" rel="stylesheet" type="text/css" />
</head>
<body>
<include file="Public:home_head" />
<div class="container_cwrap clear">
  <div class="fm_l_270">
    <div class="newotherperson_head">
      <p class="per_img"><img src="{$urlstatic}/img/hidden_s<eq name="m['sex']" value="1">1<else/>2</eq>_240_c.jpg" ></p>
    </div>
  </div>
  <!--右半模块结束 start-->
  <div class="fm_c_680">
    <div class="newotherperson_main">
      <p class="f_6 fs_16"> <a class="w" >匿名</a> 的问问 &nbsp; <span class="fs_13 f_9"></span>&nbsp; </p>
    </div>
    <div class="home_diary">
      <div class="diary_updn"> </div>
      <div class="ask_answer">
        <div class="question_list clear">
          <p class="fs_14 word_break">匿名<span class="f_9 word_nowrap">{$qtlist[$list['type']]}</span> {$list.question} </p>
		  <notempty name="list['photo_url']"><div class="no_photo"><img src="{$urlupload}/{$list.photo_url}_480x480.jpg"/></div></notempty>
          <p class="m_t20 botinfo clear"> <span class="agree">0%</span> <span class="opposition">0%</span> <a id="all_reply_446" class="current" > 回答总数(0)</a> <a id="comment_reply_446" >有内容回答(0)</a> </p>
          <div class="my_reply">
            <div id="topbg_id" class="topbg2"></div>
            <div class="box clear">
              <dl id="answer_446" a_limit="2" a_filter='2' answer_news="0" last_answer="0">
                 <volist name="alist" id="d">
				  <dd id="dl_{$d.id}">
                    <div class="clear">
                      <div class="text"><span class="f_bl fl">{$d.username}：</span> <eq name="d['vote']" value="1"><a class="agree fl"></a><else/><a class="opposition f1"></a></eq><p class="word_break">{$d.answer_cont}</p></div>
                      <div class="remark_info fs_12"> <span class="f_9">{$d.answer_time|formatTime}</span> </div>
                    </div>
                    <div class="border"></div>
                  </dd>
				</volist>			  
              </dl>
            </div>
          </div>
          <span class="time f_9 fs_12">2011-12-23 13:59:05</span> </div>
      </div>
      <div class="diary_updn"> </div>
    </div>
  </div>
  <!--右半模块结束 end-->
</div>
<script>
    var limit =1;
    var count_answer = 1;
    var is_show = 0;
    var curr_display = 0;
    $(document).ready(function(){
                $('.text_w').css('cursor', 'default');
        
        $('.text_w').click(function(){ $(this).removeClass('text_limit');$(this).find('.simple').hide();$(this).find('.detaill').show(); });
            });
    back_to_tip();
    function scaleImg(id,img)
    {
        bid = 'imgbig_'+id;
        sid = 'imgsmall_'+id;
        if(img){
            $('#'+bid).attr('src',img);
            $('#'+bid).show();
            $('#'+sid).hide();
        }else{
            $('#'+bid).hide();
            $('#'+sid).show();
        }
    }
    function scaleImg2(id,img)
    {
        bid = 'imgbig2_'+id;
        sid = 'imgsmall2_'+id;
        if(img){
            $('#'+bid).attr('src',img);
            $('#'+bid).show();
            $('#'+sid).hide();
        }else{
            $('#'+bid).hide();
            $('#'+sid).show();
        }
    }

function load_answer_more(id,first_answer,filter)
{
    var a_limit = parseInt($("#answer_"+id).attr('a_limit'));//上次页数
    var a_filter = $("#answer_"+id).attr('a_filter');//上次状态
    var answer_news = parseInt($("#answer_"+id).attr('answer_news'));
    var last_answer = 0;

    if(count_answer==1 &&　filter == 2){
        a_limit = 2;
    }
    if(filter == 2){
        count_answer++;
    }
    if(filter == 2){
        filter = a_filter;
        last_answer = parseInt($("#answer_"+id).attr('last_answer'));
    }

    if(first_answer == 0)
    {
        if(a_limit > 0)
        {
            if(a_filter == filter)
            {
                return false;
            }else if(a_filter != filter)
            {
                if(filter == 0)
                {
                    $("#topbg_id").attr('class', 'topbg3');
                }else{
                    $("#topbg_id").attr('class', 'topbg2');
                }
                $("#answer_"+id).html('');
                $("#answer_"+id).attr('a_filter', filter);
                a_limit = 1;
                $("#load_more_answer_"+id).show();
                $("#new_answer_"+id).hide();
                if(answer_news > 0)
                {
                    $("#answer_"+id).attr('answer_news', 0);
                }
            }
        }
    }
    $.ajax({
        type: "POST",
        url: "/answer/load_more_home_answer/",
        data: 'limit='+a_limit+'&question_id='+id+'&question_uid=58636465&filter='+filter+'&first_answer='+first_answer+'&answer_news='+answer_news+'&last_answer='+last_answer,
        success: function(re){ 
            var obj = jQuery.parseJSON(re);
            if(obj.errno == 200) {
                $("#answer_"+id).append(obj.more);
                a_limit = a_limit+1;
                $("#answer_"+id).attr('a_limit', a_limit);
               
            }else{
                Win.dialog({'msg':obj.msg,'type':'info'});
            }
            if(obj.hide_more == 1) {
                $("#load_more_answer_"+id).hide();
            }
            if(obj.last_answer > 0) {
                $("#answer_"+id).attr('last_answer', obj.last_answer);
            }
            if(obj.answer_news >0){
                minus_unread('answer', obj.answer_news, 0);
            }
        }
    });
}


    function perfect_invite(uid, type) {
        if(check_login()==false) {
            return false;
        }
        $.post('/home/perfect', {uid:uid, type:type}, function(data) {
            alert(data.msg);
        },'json');
    }

    var current_or_uid=0;
    $(document).bind("click",function(e){
        if($.browser.msie) {
            var el = event.srcElement;
        }
        else {
            var el = e.target;
        }
         if(!(IM.fInObj(el, "or_bg clear"))) {
            $(".m_dw").hide();
        }
        if(!(IM.fInObj(el, "add_collet clear"))){
            $(".add_collet_down").hide();
        }
    });
    $(document).ready(function() {
        if(Cookies.get("locat_pay_card_58636465") == 1 && Cookies.get("locat_pay_uid") == "58636465" && Cookies.get("locat_is_pay_58636465") == 1 && myuserinfo.card_num > 30) {
            show_mask_info(2,'58636465');
        }
        Cookies.clear("locat_pay_card_58636465");
        Cookies.clear("locat_pay_uid");
        Cookies.clear("locat_is_pay_58636465");
    $("#gift_html_close").click(function (){
       $("#show_gift_html").remove();
    }
    );
        
        });
    //返回顶部
    function back_to_tip()
    {
        var $backToTopTxt = '<a class="b_img" ></a>', $backToTopEle = $('<div class="back2top_fat"></div>').appendTo($("body"))
        .html($backToTopTxt).attr("title", '返回顶部').click(function() {
        $("html, body").animate({ scrollTop: 0 }, 120);
        }), $backToTopFun = function() {
        var st = $(document).scrollTop(), winh = $(window).height();
        (st > 0)? $backToTopEle.show(): $backToTopEle.hide();
        //IE6下的定位
        if (!window.XMLHttpRequest) {
        $backToTopEle.css("top", st + winh - 166);
        }
        };
        $(window).bind("scroll", $backToTopFun);
        $(function() { $backToTopFun(); });
    }
       function show_or(uid,type)
        {
            if(type==0){
                if(current_or_uid>0)
                {
                    $("#or_"+current_or_uid).hide();
                }
                $("#or_"+uid).show();
                current_or_uid = uid;
            }
            if(type==1){
                if(current_or_uid>0)
                {
                    $("#co_"+current_or_uid).hide();
                }
                $("#co_"+uid).show();
                current_or_uid = uid;
            }
        }
        function profile_completed(profile_completed_value){
            if(check_login()==false)
            {
                return false;
            }
            var msg_code = sysmessage_addprofile('profile',2) ;
            Win.dialog({width:460,msg:msg_code});
            return true;
        }
        function check_login(){


            return true;

        }
        

</script>
<include file="Public:foot" />
</div>
</body></html>